package com.services;

import java.util.ArrayList;
import java.util.List;

import com.entities.User;
import com.storages.UserStorage;

public class MockUserStorage implements UserStorage {

	boolean select, selectAll, insert, delete;

	@Override
	public User select(long id) {
		this.select = true;
		return new User();
	}

	@Override
	public List<User> selectAll() {
		this.selectAll = true;
		return new ArrayList<User>();
	}

	@Override
	public void insert(User user) throws Exception {
		this.insert = true;
	}

	@Override
	public void delete(long id) {
		this.delete = true;
	}

}
